APP = http
OBJS = main.o http.o

ARCH =

CC = $(ARCH)g++

all: $(APP)
	cp -raf $(APP) ~/share/tftpdir

$(APP): $(OBJS)
	$(CC) -Wall -o $@ $^

%.o: %.c
	$(CC) -Wall -c -o $@ $<

clean:
	rm -rf $(APP) *.o *~
